﻿
namespace MFGps.Data
{
    /// <summary>
    /// Waypoint data used for calculating if the GPS device is within the waypoint
    /// </summary>
    public class Waypoint
    {
        /// <summary>
        /// The latitude of the way point
        /// </summary>
        public DegreeTime Latitude;

        /// <summary>
        /// The longitude of the way point
        /// </summary>
        public DegreeTime Longitude;

        /// <summary>
        /// Altitude of the way point
        /// </summary>
        public float Altitude;

        /// <summary>
        /// Does the device need to be in range of the altitude to be "hit"
        /// </summary>
        public bool RequireAltitudeProximity;

        /// <summary>
        /// Name of the waypoint
        /// </summary>
        public string Name;

        /// <summary>
        /// The proximity radius in meters
        /// </summary>
        public double Proxmity;
    }
}
